package operator;

public class Demo01 {
    public static void main(String[] args) {
        //ctrl+D复制当前行到下一行
        int a=10;
        int b=20;
        int c=30;
        int d=20;
        System.out.println(a+b);
        System.out.println(a-b);
        System.out.println(a*b);
        System.out.println(a/b);//取整后为0
        System.out.println(a/(double)b);//强制转换其中一个的类型,注意类型

    }
}
